home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1998 October
/
EnigmA AMIGA RUN 31 (1998)(G.R. Edizioni)(IT)[!][issue 1998-10].iso
/
earkit
/
chat
/
teabot
/
fserv.doc
< prev
next >
Wrap
Text File
|
1998-09-22
|
4KB
|
104 lines
AmIRC Fserv v1 by Michael Rushton Email: michaelr@enterprise.net
======================================================================
What does it do?
Fserv allows people to access files from your computer via a DCC chat
window. Think of it as an FTP server for IRC. Which allows people to
upload and download files to and from directories selected by you.
Installation:
Simply copy fserv.amirx to your amirc rexx directory.
Launching the script:
To launch the fileserver use the following command line in AmIRC:
/rx fserv <nick> [home directory]
Where <nick> is the IRC nickname of the person you are starting an
fserv session with, and [home directory] is the root directory of the
fserv (for people accessing your computer this will be the lowest
point in the directory tree they can access). If [home directory] is
omitted the filepath on line 5 will be used (edit the path between
speech marks to change this.
After the fserv script has been launched, it will attempt to make a
DCC chat connection to <nick>. Commands from <nick> will only be
accepted once the DCC connection has been established (if a DCC chat
connection already exists it does not need to be closed before using
the script).
An example command line used to invoke the script follows:
/rx fserv Skeletor dh0:pictures/
This would open an fserv session to Skeletor. He would have access to
the directory dh0:pictures/ and those directories above it in the
directory tree.
[Note]: You will see that text being sent to the user seems to be
appearing to the IRC channel. Although it may appear that everyone can
see this text, only the person connected to the fileserver can see
this text.
Using the fileserver
This section of the documentation explains the commands available to
someone accessing the fserv.
Any lines which you do not want the fileserver to process should be
prefixed with ;
Use this when you wish to chat to the person running the fserv script.
The fileserver filepath for the home directory is FSERV:
Commands:
CD [directory][,password]
This command allows you to set the Current Directory.
Omit [directory] if you wish to see which directory you are
currently in. If the directory is password protected you
would have to put the directory name followed by a comma
then the password itself e.g. CD fserv:pictures,mushroom
where fserv:pictures is the directory you wish to enter and
mushroom is the password.
DIR/LIST [directory]
Allows you to see a list of files in the current directory
or [directory]. Dir shows only files and directories, list
should be used when you want to see file comments and file
sizes.
GET <filename>>
DCC sends <filename> to you.
MAKEDIR <dirname>[,password]
Makes a directory with the name <dirname> on the fserv. If
a password is specified then the user will have to enter a
password when using the CD command to enter the directory.
Example: To make a directory with the name pictures and a
password: 123456 you would use the command:
MAKEDIR pictures,123456
LEAVE/QUIT
Terminates the fserv session but will not close dcc chat
meaning you can chat on all night if you want to! :)
AVAIL
Tells you how much space is available on the fserv.
Use this to check if there is room on the fileserver before
uploading something.
To upload something to the fileserver simply DCC send the file to the
person running the fserv script, your DCC send will automatically be
accepted and routed to the directory which you're inhabiting on the
fileserver.